package com.boliq.demo;

import android.view.View;

import com.boliq.demo.activity.NormalActivity;
import com.boliq.demo.receiver.BroadcastActivity;

import java.util.ArrayList;
import java.util.List;

import blq.ssnb.baseconfigure.simple.MenuBean;
import blq.ssnb.baseconfigure.simple.SimpleMenuActivity;

/**
 * <pre>
 * ================================================
 * 作者: BLQ_SSNB
 * 日期：2021/2/25
 * 邮箱: blq_ssnb@outlook.com
 * 修改次数: 1
 * 描述:
 *      添加描述
 * ================================================
 * </pre>
 */
public class DemoMainActivity extends SimpleMenuActivity {
    @Override
    protected String navigationTitle() {
        return "例子";
    }

    @Override
    protected List<MenuBean> getMenuBeans() {
        List<MenuBean> menus = new ArrayList<>();
        menus.add(new MenuBean().setMenuTitle("Activity启动模式").setActivityClass(NormalActivity.class));
        menus.add(new MenuBean().setMenuTitle("广播").setActivityClass(BroadcastActivity.class));
        return menus;
    }
}
